//
//  WZUtil.swift
//  WZApp
//
//  Created by evol on 2018/6/12.
//  Copyright © 2018年 evol. All rights reserved.
//

import UIKit

class WZUtil: NSObject {
    class func readJson(_ filename: NSString?)-> Any?{
        let path = Bundle.main.path(forResource: filename! as String, ofType: "json")
        let jsonData = NSData(contentsOfFile: path!)
        
        let json = try? JSONSerialization.jsonObject(with: jsonData! as Data, options:[])
        return json
    }
}
